package org.example.managere.entity.feibiao;

import jakarta.persistence.*;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import java.math.BigDecimal;
import java.util.Date;

/**
 * 电机基本信息实体类
 */
@Entity
@Table(name = "am_archives_base")
@Data
@NoArgsConstructor
@AllArgsConstructor
public class AmArchivesBase {
    @Id
    @Column(name = "motor_id", length = 50)
    private String motorId;
    
    @Column(name = "motor_type", length = 100)
    private String motorType;
    
    @Column(name = "manufacturer", length = 200)
    private String manufacturer;
    
    @Column(name = "production_date")
    @Temporal(TemporalType.DATE)
    private Date productionDate;
    
    @Column(name = "created_at")
    @Temporal(TemporalType.TIMESTAMP)
    private Date createdAt;
    
    @Column(name = "updated_at")
    @Temporal(TemporalType.TIMESTAMP)
    private Date updatedAt;
} 